// CHelpBar.h : interface of the CHelpBar class
//
/////////////////////////////////////////////////////////////////////////////

#pragma once

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CWebHelpView;
class CHtmlHelpDlg;
class CHelpBar : public CBCGPDockingControlBar
{
public:
	CHelpBar();

// Attributes
protected:
	CWebHelpView* m_pWebView;
	CCreateContext* m_pContext;
	//CHtmlHelpDlg* m_pHelpDlg;
// Operations
public:
	void SetContext (CCreateContext* pContext)
	{
		m_pContext = pContext;
	}

	void OnHelpCommand(WPARAM wp, LPARAM lp);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHelpBar)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CHelpBar();

// Generated message map functions
protected:
	//{{AFX_MSG(CHelpBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnDestroy();
};

/////////////////////////////////////////////////////////////////////////////
